package com.yimin.GenCode;

import com.yimin.databaseS.DatabaseEntity;
import com.yimin.jpa.ComProjectSServerApi;
import com.yimin.jpa.databaseS.ComDatabaseServerApi;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;


@Component
public class MainGenCode {



    @Resource
    ComDatabaseServerApi databaseServer;

    /*
    * 这里我们需要先确认整体流程
    * */

    public List<String> ExeMainGenCode(String projectId){

//        这里拿到某个项目所有的表
    List<DatabaseEntity> tableS=databaseServer.findAllByProjectId(projectId);


        tableS.forEach(item->{

        });


    return new ArrayList<>();
    }



}
